import unittest,time
from Unit_09.Page import Page
from selenium import webdriver

class TestCase(unittest.TestCase):
    # 测试固件
    def setUp(self):
        print('开始')
        self.driver = webdriver.Edge()
        self.driver.maximize_window()

    def tearDown(self):
        print('结束')
        # time.sleep(10)
        self.driver.quit()

    def test_baidu_01(self):
        po = Page(self.driver)
        po.baidu_luoji()

if __name__ == '__main__':
    unittest.main()
